package com.ruoyi.net.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备状态-APR邻居对象 device_status_apr_neighb
 *
 * @author net
 * @date 2024-12-11
 */
public class DeviceStatusAprNeighb extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** vrf名称 */
    @Excel(name = "vrf名称")
    @ApiModelProperty(value = "vrf名称")
    private String vrfName;

    /** ip地址 */
    @Excel(name = "ip地址")
    @ApiModelProperty(value = "ip地址")
    private String ipAddr;

    /** mac地址 */
    @Excel(name = "mac地址")
    @ApiModelProperty(value = "mac地址")
    private String macAddr;

    /** arp类型 */
    @Excel(name = "arp类型")
    @ApiModelProperty(value = "arp类型")
    private String arpType;

    /** 接口名称 */
    @Excel(name = "接口名称")
    @ApiModelProperty(value = "接口名称")
    private String portName;

    /** 过期时间 */
    @Excel(name = "过期时间")
    @ApiModelProperty(value = "过期时间")
    private String expireTime;

    /** SVLAN ID */
    @Excel(name = "SVLAN ID")
    @ApiModelProperty(value = "SVLAN ID")
    private String svlanId;

    /** CVLAN ID */
    @Excel(name = "CVLAN ID")
    @ApiModelProperty(value = "CVLAN ID")
    private String cvlandId;

    /** 条目状态（0未激活 1已激活） */
    @Excel(name = "条目状态", readConverterExp = "0=未激活,1=已激活")
    @ApiModelProperty(value = "条目状态")
    private String status;

    /** 删除标记（0正常 2删除） */
    private String delFlag;

    /** 网元id */
    @Excel(name = "网元id")
    @ApiModelProperty(value = "网元id")
    private String elementId;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setVrfName(String vrfName)
    {
        this.vrfName = vrfName;
    }

    public String getVrfName()
    {
        return vrfName;
    }
    public void setIpAddr(String ipAddr)
    {
        this.ipAddr = ipAddr;
    }

    public String getIpAddr()
    {
        return ipAddr;
    }
    public void setMacAddr(String macAddr)
    {
        this.macAddr = macAddr;
    }

    public String getMacAddr()
    {
        return macAddr;
    }
    public void setArpType(String arpType)
    {
        this.arpType = arpType;
    }

    public String getArpType()
    {
        return arpType;
    }
    public void setPortName(String portName)
    {
        this.portName = portName;
    }

    public String getPortName()
    {
        return portName;
    }
    public void setExpireTime(String expireTime)
    {
        this.expireTime = expireTime;
    }

    public String getExpireTime()
    {
        return expireTime;
    }
    public void setSvlanId(String svlanId)
    {
        this.svlanId = svlanId;
    }

    public String getSvlanId()
    {
        return svlanId;
    }
    public void setCvlandId(String cvlandId)
    {
        this.cvlandId = cvlandId;
    }

    public String getCvlandId()
    {
        return cvlandId;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setElementId(String elementId)
    {
        this.elementId = elementId;
    }

    public String getElementId()
    {
        return elementId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("vrfName", getVrfName())
                .append("ipAddr", getIpAddr())
                .append("macAddr", getMacAddr())
                .append("arpType", getArpType())
                .append("portName", getPortName())
                .append("expireTime", getExpireTime())
                .append("svlanId", getSvlanId())
                .append("cvlandId", getCvlandId())
                .append("status", getStatus())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("elementId", getElementId())
                .toString();
    }
}
